package com.example.client.controller;

import com.example.nacos.api.HelloWordProxy;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloWordController{

    @Autowired
    private HelloWordProxy helloWordProxy;

    @RequestMapping("/sayHello")
    public String feignPing() {

        return helloWordProxy.feignPing();
    }
}
